import { Module } from 'vuex';
import { taskRequireState } from './types';
import { RootState } from '../../type';
const state: taskRequireState = {
    taskUserInfo: []
};

type StateType = typeof state

const taskRequire: Module<StateType, RootState> = {
    namespaced: true,
    state,
    mutations: {
        SET_TASKUSERINFO: (state, payload) => {
            state.taskUserInfo = payload;
        }
    }
};

export default taskRequire;
